package com.zzl.finance.data.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.general.common.utils.DoubleSerialize;
import lombok.Data;

import java.io.Serializable;

/**
 * 金融产品
 *
 * @author wztsl
 * @date 2021-12-22 19:40:27
 */
@Data
@TableName("b_financial_product")
@ApidocModel
public class FinancialProductCalcDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "主键")
    private String id;
    @ApidocModelProperty(description = "产品名称")
    private String productName;
    @ApidocModelProperty(description = "预计放款金额")
    private Double estimateLoanAmount;
    @ApidocModelProperty(description = "融资成本")
    private Double financingCost;
    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "融资成本率")
    private Double financingCostRate;
    @ApidocModelProperty(description = "融资成本详情")
    private String financingCostDetail;

}
